Ext.define('PackageManager.model.PackageModelFull', {
    extend: 'Ext.data.Model',
    requires: ['PackageManager.model.Component'],
    idProperty: 'id',
    fields: [
        {name: 'id', type: 'int'},
        {name: 'stage', type: 'string'},
        {name: 'components'},
        {name: 'staticDatas'}
    ],
    hasMany: [
        {model: 'Component', name: 'components'},
        {model: 'SataticData', name: 'staticDatas'}
    ]
});
